package com.amway.qy.resource.result.auth;

import com.amway.qy.resource.result.BaseResult;
import com.google.gson.annotations.SerializedName;

/*返回结果
a)企业成员授权时返回示例如下：
	{
	   "UserId":"USERID",
	   "DeviceId":"DEVICEID"
	}

b)非企业成员授权时返回示例如下：
	{
	   "OpenId":"OPENID",
	   "DeviceId":"DEVICEID"
	}
*/


public class QySecondAuthResult extends BaseResult{
	@SerializedName("OpenId")
	private String openId;
	
	@SerializedName("UserId")
	private String userId;
	
	@SerializedName("DeviceId")
	private String deviceId;
	
	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}


	@Override
	public String toString() {
		return "QySecondAuthResult [openId=" + openId + ", userId=" + userId + ", deviceId=" + deviceId + ", errcode="
				+ errcode + ", errmsg=" + errmsg + "]";
	}
	
	
	
}
